
{$header}<div id="main" class="main" >
    <div class="content">
  <h3 class="heading">新增对账订单 [ <a href="__URL__">返回列表</a> ]</h3>
<div id="result" class="result none"></div>
<form class="form-horizontal well" method='post' id="form1" action="__URL__/insert/">
<table cellpadding=3 cellspacing=3 >
<tr>
	<td class="tRight" >订单号：</td>
	<td class="tLeft span12" >
        <input type="text" name="sale_no" value="" class="large"> 
    </td>
</tr>
<tr>
	<td class="tRight" >原订单号：</td>
	<td class="tLeft span12" >
        <input type="text" name="mall_no" value="" class="large">订单来源：{:modList('Order_source')}
    </td>
</tr>
<tr>
	<td class="tRight" >对账周期</td>
	<td class="tLeft span12" >
        {:modList('Reconcile_cycle','','span2','cycle_id')}
    </td>
</tr>
<tr>
	<td class="tRight" >订单金额对比</td>
	<td class="tLeft" >
		<table class="table-bordered table">
			<tr> <th>对比项目</th> <th>我方（元）</th> <th>对方（元）</th> <th>原始订单（元）</th>	 </tr>
			<tr> <th>应收款</th> 
				<td><input type="text" name="should_pay">  </td>
				<td><input type="text" name="out_should_pay">  </td>
			    <td>   <input type="text" name="mall_should_pay">  </td>
			</tr>
			<tr> <th>货款</th> 
				<td><input type="text" name="goods_money">  </td>
				<td><input type="text" name="out_goods_money">  </td>
			    <td>   <input type="text" name="mall_goods_money">  </td>
			</tr>
			<tr> <th>运费</th> 
				<td><input type="text" name="logifee">  </td>
				<td><input type="text" name="out_logifee">  </td>
			    <td>   <input type="text" name="mall_logifee">  </td>
			</tr>

        </table>
    </td>
</tr>
<tr>
	<td class="tRight" >订单摘要：</td>
	<td class="tLeft" >
        <textarea name="overview" value="" class="span9" rows="3"></textarea>
        <span class="alert alert-info">收货人+下单时间+商品明细</span>
    </td>
</tr>
<tr>
	<td class="tRight" >原始摘要：</td>
	<td class="tLeft" >
        <textarea name="overview" value="" class="span9" rows="3"></textarea>
    </td>
</tr>
<tr>
	<td class="tRight" >发货时间：</td>
	<td class="tLeft" >
            <input type="text" name="shipping_time" value="" onClick="WdatePicker({dateFmt:'yyyy-MM-dd HH:mm:ss'})" />
        </td>
</tr>
<tr>
	<td class="tRight" >收货时间：</td>
	<td class="tLeft" >
            <input type="text" name="receive_time" value="" onClick="WdatePicker({dateFmt:'yyyy-MM-dd HH:mm:ss'})" />
        </td>
</tr>
<tr>
	<td class="tRight" >订单状态</td>
	<td class="tLeft" >
            <input type="text"  name="order_status"> 原始状态  <input type="text"  name="mall_order_status"> 
        </td>
</tr>
<tr>
	<td class="tRight" >对账金额</td>
	<td class="tLeft" >
            <input type="text"  name="check_total" >
        </td>
</tr>
<tr>
	<td class="tRight" >备注说明：</td>
	<td class="tLeft" ><textarea name="remark" rows="5" cols="15" class="large"></textarea></td>
</tr>
<tr>
	<td class="tRight" >经办人：</td>
	<td> {:modList('User',$_SESSION[C('USER_AUTH_KEY')])}
            
        </td>
</tr>
<tr>
	<td class="tRight">状态：</td>
	<td class="tLeft"><SELECT class="small bLeft"  name="status">
	<option value="1">启用</option>
	<option value="0">禁用</option>
	</SELECT></td>
</tr>
<tr>
	<td></td>
	<td class="center" width="300">
	<button type="submit" class="btn btn-primary"><i class="icon-ok icon-white"></i> 保存</button>
	<a class="btn btn-primary offset1" href="__URL__"><i class="icon-arrow-left icon-white"></i>返回</a>
	</td>
</tr>
</table>
</form>
</div>
</div>
<include file="Public:footer"/>
<load href="__PUBLIC__/Js/My97DatePicker/WdatePicker.js" />